package com.xcenter.cabinet.model;

import java.io.Serializable;
import java.sql.Timestamp;

@SuppressWarnings("serial")
public class FileModel implements Serializable {

	private Long id;
	private String filename;
	private String folderPath;
	private Long size;
	private Timestamp uploadDate;
	private String md5;
	private String origFilename;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	public String getFolderPath() {
		return folderPath;
	}

	public void setFolderPath(String folderPath) {
		this.folderPath = folderPath;
	}

	public Long getSize() {
		return size;
	}

	public void setSize(Long size) {
		this.size = size;
	}

	public Timestamp getUploadDate() {
		return uploadDate;
	}

	public void setUploadDate(Timestamp uploadDate) {
		this.uploadDate = uploadDate;
	}

	public String getMd5() {
		return md5;
	}

	public void setMd5(String md5) {
		this.md5 = md5;
	}

	public String getOrigFilename() {
		return origFilename;
	}

	public void setOrigFilename(String origFilename) {
		this.origFilename = origFilename;
	}

	@Override
	public String toString() {
		return "FileModel [id=" + id + ", filename=" + filename + ", folderPath=" + folderPath + ", size=" + size
				+ ", uploadDate=" + uploadDate + ", md5=" + md5 + ", origFilename=" + origFilename + "]";
	}

}
